package com.zyx.boot.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 撤销申请

 * </p>
 *
 * @author zyx
 * @since 2023-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_revoke")
public class Revoke implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键

     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 撤销理由

     */
    private String revokeReason;

    /**
     * 撤销备注

     */
    private String revokeMemo;

    /**
     * 撤销的奖惩id
     */
    private Integer revokeId;

    /**
     * 0 撤销未完成
1 撤销已完成
2 撤销未批准


     */
    @TableLogic
    private Boolean deleted;

    /**
     * 创建人id

     */
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    /**
     * 修改人id

     */
    private Integer updateUserId;

    /**
     * 修改时间

     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;


}
